<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="include/base.jsp" %>
<!DOCTYPE HTML>
<html lang="zh-CN">
<head>
	<meta charset="UTF-8">
	<title>项目管理系统</title>
	<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css" />
	<link rel="stylesheet" type="text/css" href="css/loong.css">
	
	<script type="text/javascript" src="js/jquery.min.js"></script>
	<script type="text/javascript" src="js/bootstrap.min.js"></script>
</head>
<body class="body">
	
	<%@ include file="include/top.jsp" %>
	<!-- 头结束 -->	
	<div class="container">
	  <div class="row row-inner">
		<%@ include file="include/left.jsp" %>
		<div class="span8">
			
			
			<div class="wall">
				

				<div class="page-header">
					<a href="new_task.jspx" class="btn btn-success"><i class="icon-plus icon-white"></i>添加新任务</a>
				</div>


				<dl>
        			<c:choose>
        				<c:when test="${empty requestScope.list }">
        					<h4>你没有添加任何任务</h4>
        				</c:when>
        				<c:otherwise>
        					<c:forEach var="item" items="${requestScope.list }">
        						<dt><i class="icon-bookmark"></i><a href="javaScripe:;">${item.name }</a>&nbsp;&nbsp;&nbsp;[${item.ename }]</dt>
			        			<dd>${item.desc }</dd>
			        			<div class="progress">
								  <div class="bar" style="width:${item.rate}%;">完成${item.rate }</div>
								</div>
        					</c:forEach>
        					
        				</c:otherwise>
        			</c:choose>
      			</dl>

			</div>
			
		</div>
	  </div>
	  <%@ include file="include/foot.jsp" %>
	</div>
</body>
</html>